<div *ngIf="schema">
    <sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="formData"> </sf>
</div>

<div class="modal-footer">
    <button nz-button type="button" (click)="close()">{{ isDisabled ? '关闭' : '取消' }}</button>
    <button nz-button type="button" nzType="primary" (click)="sure()" *ngIf="!isDisabled">确定</button>
</div>